package com.fy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 晓岩
 * @since 2022-06-11
 */
@Getter
@Setter
@TableName("t_groups")
public class Groups implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "gid", type = IdType.AUTO)
    private Integer gid;

    private String gname;

    private String dis;
    @TableField(exist = false)
    private Integer cnt;
    @Override
    public String toString() {
        return "Groups{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", dis='" + dis + '\'' +
                '}';
    }
}
